package com.dis.insurance.mapper;

import com.dis.pojo.entity.Insure;
import com.dis.pojo.queryDTO.InsurePageQueryDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InsureMapper {
    void insert(Insure insure);

    List<Insure> pageQuery(InsurePageQueryDTO insurePageQueryDTO);

    Insure getById(Long id);

    void update(Insure insure);

    void delete(Long id);
}
